<?php
/**
* @version		$Id: link.php 46 2011-01-29 09:54:18Z happy_noodle_boy $
* @package      JCE
* @copyright    Copyright (C) 2005 - 2009 Ryan Demmer. All rights reserved.
* @author		Ryan Demmer
* @license      GNU/GPL
* JCE is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
*/
// no direct access
defined('_JEXEC') or die('Restricted access');

class WFVideoAggregator extends WFAggregatorExtension 
{
	/**
	* Constructor activating the default information of the class
	*
	* @access	protected
	*/
	function __construct()
	{
		parent::__construct();
	}
	
	function display()
	{
		jimport('joomla.filesystem.folder');
		
		$document =& WFDocument::getInstance();
		
		$files = JFolder::files(dirname(__FILE__).DS.'video', '\.js$');
		
		$document->addScript($files, 'extensions/aggregator/video');
	}
}